import request from '@/utils/request'

export function getRoleUser(id) {
    return request({
        url: '/roleUser/getRoleUser/'+id,
        method: 'get',
    })
}

export function updateRoleUser(id,data) {
    return request({
        url: '/roleUser/updateRoleUser/'+id,
        method: 'put',
        data
    })
}
